package com.lkqandzzy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lkqandzzy.mapper.UserMapper;
import com.lkqandzzy.entity.Users;
import com.lkqandzzy.service.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author 邹靓仔
 * @date 2020/3/19 -16:23 -User-perm
 **/
@Service
@Transactional
public class UsersServiceImpl extends ServiceImpl<UserMapper, Users> implements UsersService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public Users selectByUserName(String userName) {
        return userMapper.selectByUserName(userName);
    }
}
